package com.hanserwei.community.service;

import com.hanserwei.community.entity.po.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hanserwei.community.entity.vo.UserRoleVO;

import java.util.List;

public interface RoleService extends IService<Role>{


    Boolean addUserRole(Integer userId, Integer roleId);

    List<UserRoleVO> listUserRole();

    Boolean deleteUserRole(Integer userId, Integer roleId);

    void deletRoleById(Integer id);
}
